$OpenBSD: patch-plugins_vorbis_Makefile_am,v 1.3 2014/09/23 13:44:04 dcoppa Exp $
--- plugins/vorbis/Makefile.am.orig	Sun Jul 13 11:45:50 2014
+++ plugins/vorbis/Makefile.am	Tue Sep 23 10:51:15 2014
@@ -1,9 +1,18 @@
 if HAVE_VORBIS
 vorbisdir = $(libdir)/$(PACKAGE)
 pkglib_LTLIBRARIES = vorbis.la
-vorbis_la_SOURCES = vorbis.c
+vorbis_la_SOURCES = vorbis.c\
+		../liboggedit/oggedit_art.c\
+		../liboggedit/oggedit_flac.c\
+		../liboggedit/oggedit_internal.c\
+		../liboggedit/oggedit_opus.c\
+		../liboggedit/oggedit_utils.c\
+		../liboggedit/oggedit_vorbis.c\
+		../liboggedit/oggedit.h\
+		../liboggedit/oggedit_internal.h
+
 vorbis_la_LDFLAGS = -module -avoid-version -lm -export-symbols-regex vorbis_load
 
-vorbis_la_LIBADD = $(LDADD) $(VORBIS_LIBS) ../liboggedit/liboggedit.a
+vorbis_la_LIBADD = $(LDADD) $(VORBIS_LIBS)
 AM_CFLAGS = $(CFLAGS) $(VORBIS_CFLAGS) -std=c99
 endif
